springboot + swagger2 启动报错:Error creating bean... |
您所在的位置:网站首页 › spring unsatisfied › springboot + swagger2 启动报错:Error creating bean... |
springboot + swagger2 启动报错:Error creating bean with name 'linkDiscoverers' defined in class path resource org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'linkDiscoverers' defined in class path resource [org/springframework/hateoas/config/HateoasConfiguration.class]: Unsatisfied dependency expressed through method 'linkDiscoverers' parameter 0; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'org.springframework.plugin.core.PluginRegistry' available: expected single matching bean but found 3: relProviderPluginRegistry,linkDiscovererRegistry,entityLinksPluginRegistry解决 修改 Spring boot 和swagger 2 的版本相匹配 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |